<?php
//var_dump($applicants);
$fullname = set_value('email',$applicants->fullname);
$level_code = set_value('level_code',$applicants->level_code);
$level_id = set_value('level_id',$applicants->e_grade_level);
$previous_school = set_value('level_code',$applicants->previous_school);
$vice_principal_interview = set_value('vice_principal_interview',$applicants->vice_principal_interview);

$chooseAppoved = array('0' => 'No', '1' => 'Yes');
?>
<?echo $system_message;?>
<div class="section-container auto" data-section>
  <section class="active">
    <p class="title" data-section-title><a href="#panel1">Applicant Interview</a></p>
    <div class="content" data-section-content>
		<p>

	<?echo form_open('applicant/update_interview/'.$applicants->e_id,'class="custom" autocomplete="off"');?>
	<div>
	
		<div class="row collapse">
			<div class="small-4 large-4 columns">
				<span class="prefix">Full Name</span>
			</div>
			<div class="small-8 large-8 columns">
				<input type="text" style="font-style:capitalize;" value="<?php echo $fullname; ?>" disabled="disabled" >
			</div>
			<div class="small-4 large-4 columns">
				<span class="prefix">Garde Level</span>
			</div>
			<div class="small-8 large-8 columns">
				<?php echo form_dropdown('level_id', $levels, $level_id);?>
			</div>
			
			<div class="small-4 large-4 columns">
				<span class="prefix">Last School Attended</span>
			</div>
			<div class="small-8 large-8 columns">
				<input type="text" value="<?php echo $previous_school; ?>" disabled="disabled" >
			</div>
			<div class="small-4 large-4 columns">
				<span class="prefix" style="background-color:#47875A;">Vice-Principal Interview</span>
			</div>
			<div class="small-8 large-8 columns">
				<?=form_dropdown('vice_principal_interview', $chooseAppoved, $vice_principal_interview);?>
			</div>
			
			<input type="submit" class="button small" id="update_applicant" name="update_applicant" value="Submit">
		</div>
	
	</div>
	</form>
	
		</p>
    </div>
  </section>
  <section>
    <p class="title" data-section-title><a href="#panel2">Profile</a></p>
    <div class="content" data-section-content>
      <p>Applicant's Profile</p>
    </div>
  </section>
</div>